Fix: Git Server Path Restriction#2757
Merged
cliffhall merged 3 commits intomodelcontextprotocol:mainfrom Sep 24, 2025
Merged
Conversation
Contributor
Author
|
Please DM me on Discord to discuss the technical details https://discord.com/channels/1358869848138059966/1379811011669921883/1420257622606483556 |
Contributor
Author
|
@cliffhall @olahungerford @domdomegg |
0dd
commented
Sep 24, 2025
| - `repo_path` (string): Path to Git repository | ||
| - `revision` (string): The revision (commit hash, branch name, tag) to show | ||
| - Returns: Contents of the specified commit | ||
| 12. `git_init` |
Contributor
Author
There was a problem hiding this comment.
Contributor
Author
|
Hi team I saw this have been fixed in the version mcp-server-git@2025.9.25. Thank you all for the fix version build. @cliffhall @jenn-newton Can you also help request the CVE for this one? The vulnerability was introduced from https://github.com/modelcontextprotocol/servers/pull/551/files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TLDR
Fix the critical Security Issue see the report
Description
Server Details
Motivation and Context
Security Issue: Please Check the report
How Has This Been Tested?
Test with Amazon Q and MCP CLI
Breaking Changes
All Users need to update to this version to prevent Security Issue (detailed in the link
Types of changes
Checklist